import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    redirect:'/About'
  },
  {
    path: '/About',
    name: 'about',
    component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
  },
  {
    path: '/Home',
    name: 'home',
    component: () => import(/* webpackChunkName: "home" */ '../views/Home.vue')
  },
  {
    path: '/lixi',
    name: 'lixi',
    component: () => import(/* webpackChunkName: "lixi" */ '../views/Lixi.vue')
  },
  {
    path: '/shangc',
    name: 'shangc',
    component: () => import(/* webpackChunkName: "Shangc" */ '../views/Shangc.vue')
  },
  {
    path: '/pro',
    name: 'pro',
    component: () => import(/* webpackChunkName: "pro" */ '../views/pro.vue')
  },
  {
    path: '/ztongx',
    name: 'ztongx',
    component: () => import(/* webpackChunkName: "ztongx" */ '../views/Ztongx.vue'),
  },
  {
    path: '/Daxue',
    name: 'daxue',
    component: () => import(/* webpackChunkName: "daxue" */ '../views/Daxue.vue'),
  },
  {
    path: '/Daxue/:id',
    name: 'daxuexq',
    component: () => import(/* webpackChunkName: "daxuexq" */ '../views/Daxuexq.vue'),
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
